package org.mzyyn.qr.constants;

/**
 * @author lipeng
 * 小程序接口
 * @date 2024/1/15 13:07
 */
public class AppletsApiUrlMapping {
    public static final String BASE = "/applets";


    /**
     * 用户/登录/注册
     */
    public static final String USER = BASE + "/user";

    /**
     * 小程序code换取openid登录
     */
    public static final String USER_CODE_TWO_SESSION_LOGIN = USER + "/login";

    /**
     * 小程序wx.getUserProfile 换取手机号登录
     */
    public static final String USER_USER_PROFILE_REGIST_OR_LOGIN = USER + "/registOrLogin";

    /**
     * 获取用户信息
     */
    public static final String USER_INFO_GET = USER + "/getUserInfo";

    /**
     * 获取h5的code实际就是openid
     */
    public static final String USER_H5_CODE_GET = USER + "/getH5Code";

    /**
     * 助力分享数据获取
     */
    public static final String ASSISTANCE_SHARE = BASE + "/assistance/share";

    /**
     * 助力分享数据获取
     */
    public static final String ASSISTANCE_RECORD = BASE + "/assistance/getAssistanceRecord";

    /**
     * 助力人员数
     */
    public static final String ASSISTANCE_COUNT = BASE + "/assistance/getAssistanceCount";

    /**
     * 领取奖品
     */
    public static final String ASSISTANCE_RECEIVE_PRIZE = BASE + "/assistance/receivePrize";

    /**
     * 互助助力成功
     */
    public static final String ASSISTANCE_HUZHU_SUCCESS = BASE + "/assistance/huzhuSuccess";

    /**
     * 助力成功
     */
    public static final String ASSISTANCE_SUCCESS = BASE + "/assistance/success";

    /**
     * 助力成功
     */
    public static final String ASSISTANCE_SUCCESS_SHISHI = BASE + "/assistance/successShishi";

    /**
     * 奖品记录列表
     */
    public static final String PRIZE_RECORD_PAGE_LIST = BASE + "/prize/prizeRecordPage";

    /**
     * 设置信息获取
     */
    public static final String SETTING_GET = BASE + "/setting/get";

    /**
     * 特殊设置信息获取
     */
    public static final String SETTING_SPECIAL_GET = BASE + "/setting/specialGet";

    /**
     * 特殊设置信息获取
     */
    public static final String SETTING_SPECIAL_SAVE = BASE + "/setting/specialSave";

}
